package com.seven.thread;

/**
 * @author sevenDay
 * @classname TTRunable
 * @description: 描述TODO
 * @date 2018/7/17
 */
public class TTRunable extends SevenRunnable {

    public TTRunable(String taskName, int taskId){
        super(taskName,taskId);
    }
    @Override
    public void run() {
        //setStartTime(System.currentTimeMillis());
        try {
            Thread.sleep(1);
            System.out.println(getTaskId() +" runable  执行任务..... ");
        } catch (InterruptedException e) {
            e.printStackTrace();
        }

       // setEndTime(System.currentTimeMillis());
    }

}
